﻿// Decompiled with JetBrains decompiler
// Type: DnProcessSimulateCommands.AssignDataFromTC.BLModel.BomLine
// Assembly: DnProcessSimulateCommands, Version=2402.0.0.890, Culture=neutral, PublicKeyToken=null
// MVID: A885D881-AEDF-447E-852A-6F13102E089C
// Assembly location: C:\Program Files\Tecnomatix_2402\eMPower\DotNetCommands\DnProcessSimulateCommands.dll

using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Media;
using Tecnomatix.Engineering.Ui.WPF;


namespace DnProcessSimulateCommands.AssignDataFromTC.BLModel;

public class BomLine : INotifyPropertyChanged
{
  private TxVisibilityState _objVisibility;
  private List<string> _propertyValues = new List<string>();

  public event PropertyChangedEventHandler PropertyChanged;

  private void OnPropertyChanged(string propertyName)
  {
    PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
    if (propertyChanged == null)
      return;
    propertyChanged((object) this, new PropertyChangedEventArgs(propertyName));
  }

  public TxVisibilityState ObjVisibility
  {
    get => this._objVisibility;
    set
    {
      if (this._objVisibility == value)
        return;
      this._objVisibility = value;
      this.OnPropertyChanged(nameof (ObjVisibility));
    }
  }

  public ImageSource Icon { get; set; }

  public ImageSource SourceStructureIcon { get; set; }

  public string Name { get; set; }

  public string SourceStructureName { get; set; }

  public List<string> PropertyValues
  {
    get => this._propertyValues;
    set
    {
      if (this._propertyValues == value)
        return;
      this._propertyValues = value;
    }
  }

  internal CUiSearchResultObject ResultsObject { get; set; }
}
